<?php	/* gmslOpenSource 2008 */
/*
----------------------------------------------------------------------------------------
	Project name:		gmslappcore
	Section:		editor test app
----------------------------------------------------------------------------------------
	Script name:		editor.php
	Script location:	./modules/editor test/pages/
	Script version:		1.4
----------------------------------------------------------------------------------------
	Script info:		This page is just to test the wysiwyg editor
				system and will not be included in any public
				releases.
	Script dependencies:
 				~None.
----------------------------------------------------------------------------------------
	This script is part of the gmslappcore system which is released
	under the GNU licese.
	Copyright: (c) 2008 groupmsl (groupmsl.co.uk)
	Email: projects+gmslappcore@groupmsl.co.uk
	Website: www.groupmsl.co.uk?section=cms&page=view&t=gmslappcore&f=groupmsl Open Source/gmslappcore
----------------------------------------------------------------------------------------
	This program is free software: you can redistribute it and/or modify
	it under the terms of the GNU General Public License as published by
	the Free Software Foundation, either version 3 of the License, or
	(at your option) any later version.

	This program is distributed in the hope that it will be useful,
	but WITHOUT ANY WARRANTY; without even the implied warranty of
	MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
	GNU General Public License for more details.

	You should have received a copy of the GNU General Public License
	along with this program.  If not, see <http://www.gnu.org/licenses/>.
----------------------------------------------------------------------------------------
*/
#GMSLAP#PAGE#
$page['security']='none';
#GMSLAP#PAGE# ?>
<?php // Sidebar stuff here ?>
Eidtor test in progress!!!
<br/>
Normal text
<?php #GMSLAP#PAGE#
// Early Scripts (things like cookies) that need to run early go in here... KEEP ALL OF THIS IN PHP!
$page['title']="Editor Test";
$page['info']="This page will allow you to test the wysiwyg editor built into the system.";
#GMSLAP#PAGE# ?>
<?php // The head part of the page goes in here... ?>
<script type="text/javascript">
	// Use it to attach the editor to all textareas with full featured setup
	//WYSIWYG.attach('all', full);

	// Use it to attach the editor directly to a defined textarea
	WYSIWYG.attach('blank_default'); // default setup
	//WYSIWYG.attach('textarea2', full); // full featured setup
	//WYSIWYG.attach('textarea3', small); // small setup

	// Use it to display an iframes instead of a textareas
	//WYSIWYG.display('all', full);  
</script>
<?php #GMSLAP#PAGE# ?>
<?php // Content goes in here ?>
<p>Welcome to the wysiwyg editor test page.</p>
<form>
<textarea id="blank_default" name="bob" style="width:560px;height:200px;"></textarea>
</form>
